@import url(./userinfo.css);

body {
    background: none;
}

header {
    background-image: linear-gradient(#16be5e, #13cf63);
}

.wrap {
    padding-top: 60px;
}

main {
    margin-top: 0;
}

main .user {
    height: 70px;
    border-bottom: 1px solid #eaeaea;
    box-sizing: border-box;
    display: flex;
    padding: 12px;
}

main .user .icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
}

main .user .text {
    flex: 1;
    margin: 0 10px;
}

main .user .name {
    height: 25px;
    line-height: 25px;
    font-size: 15px;
    margin-bottom: 2px;
    color: #343434;
}

main .user .age {
    background-color: #1dc8f0;
    height: 16px;
    line-height: 16px;
    border-radius: 3px;
    width: max-content;
    color: #fff;
    padding: 0 4px;
}

main .user .age span {
    display: inline-block;
    transform: scale(.7);
    margin-left: -4px;
}

main .user .age::before {
    content: "";
    display: inline-block;
    /* background: url('../imgs/man-woman.png') no-repeat 0 0; */
    background-size: 10px 81px;
    width: 10px;
    height: 11px;
}

main .user p {
    display: block;
    width: 65px;
    height: 25px;
    box-sizing: border-box;
    border: 1px solid #bdbdbd;
    color: #bdbdbd;
    font-size: 12px;
    text-align: center;
    line-height: 25px;
    border-radius: 5px;
    align-self: center;
}

main .user.con p {
    border-color: #0cc85c;
    color: #0cc85c;
}

main .user.woman .age {
    background-color: #f452a2;
}

main .user.woman .age::before {
    /* background: url('../imgs/man-woman.png') no-repeat 0 -70px; */
    background-size: 10px 81px;
    width: 8px;
    height: 11px;
}